#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int str(char* p)
{
	int count = 0;
	int i = 0;
	while (*(p + i)!='\0')
	{
		count++;
		i++;
	}
	return count;
}
int main()
{
	char arr[6] = "12345";
	char* p = arr;
	int len=str(p);
	printf("%d", len);
	return 0;
}